package com.totem.order.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.totem.order.model.TSubscribeOrderItems;
import com.totem.order.vo.SubscribeOrderPageVO;
import com.totem.order.vo.SubscribeOrderVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.math.BigDecimal;
import java.util.List;

@Mapper
public interface TSubscribeOrderItemMapper extends BaseMapper<TSubscribeOrderItems> {

    Long countAll(@Param("vo") SubscribeOrderPageVO vo);
    IPage<SubscribeOrderVO> findAll(IPage<SubscribeOrderVO> page, @Param("vo") SubscribeOrderPageVO vo);

    List<SubscribeOrderVO> findAll(@Param("vo") SubscribeOrderPageVO vo);

    List<TSubscribeOrderItems> findUnaward();

    List<TSubscribeOrderItems> findUnawardSpecial();

    List<TSubscribeOrderItems> findUnteam();
}
